package com.example.demo.utils;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Date;
@TableName("ActualOrder")
public class ActualOrder {
    @TableId(value = "reservationOrderID", type = IdType.INPUT)
    private String reservationOrderID;
    @TableField("checkoutTime")
    private Date checkoutTime;
    @TableField("checkoutStoreID")
    private String checkoutStoreID;
    @TableField("returnTime")
    private Date returnTime;
    @TableField("returnStoreID")
    private String returnStoreID;

    public ActualOrder(String reservationOrderID, Date checkoutTime, String checkoutStoreID, Date returnTime, String returnStoreID, String carID, String userID, float amount) {
        this.reservationOrderID = reservationOrderID;
        this.checkoutTime = checkoutTime;
        this.checkoutStoreID = checkoutStoreID;
        this.returnTime = returnTime;
        this.returnStoreID = returnStoreID;
        this.carID = carID;
        this.userID = userID;
        this.amount = amount;
    }
    @TableField("carID")
    private String carID;
    @TableField("userID")
    private String userID;
    @TableField("amount")
    private float amount;

    public String getReservationOrderID() {
        return reservationOrderID;
    }

    public void setReservationOrderID(String reservationOrderID) {
        this.reservationOrderID = reservationOrderID;
    }

    public Date getCheckoutTime() {
        return checkoutTime;
    }

    public void setCheckoutTime(Date checkoutTime) {
        this.checkoutTime = checkoutTime;
    }

    public String getCheckoutStoreID() {
        return checkoutStoreID;
    }

    public void setCheckoutStoreID(String checkoutStoreID) {
        this.checkoutStoreID = checkoutStoreID;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }

    public String getReturnStoreID() {
        return returnStoreID;
    }

    public void setReturnStoreID(String returnStoreID) {
        this.returnStoreID = returnStoreID;
    }

    public String getCarID() {
        return carID;
    }

    public void setCarID(String carID) {
        this.carID = carID;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public float getAmount() {
        return amount;
    }

    public void setAmount(float amount) {
        this.amount = amount;
    }
}
